package org.patto.main.api.impl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Options;

/**
 * @author songchuanfu
 * @ClassName SysUserIdMapper
 * @qq 18050164315
 * @addres 1802284273@qq.com
 * @微信: wx-suagcf
 */
public interface SysUserIdMapper extends BaseMapper<SysUserId> {

    @Insert("INSERT INTO sys_user_id    VALUES(null);")
    @Options(useGeneratedKeys = true, keyProperty = "userId")
    int getUserId(SysUserId sysUserId);
}
